package com.shatower.chatctrl.dao.service.impl;

import com.shatower.chatctrl.dao.mapper.GroupsMapper;
import com.shatower.chatctrl.dao.pojo.Groups;
import com.shatower.chatctrl.dao.pojo.GroupsExample;
import com.shatower.chatctrl.dao.service.GroupsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by hhggccll on 2017/10/15.
 */
@Service("groupsService")
public class GroupsServiceImpl implements GroupsService {

    @Autowired
    private GroupsMapper groupsMapper;

    @Override
    public int insertSelective(Groups record) {
        return groupsMapper.insertSelective(record);
    }

    @Override
    public List<Groups> selectByExample(GroupsExample example) {
        return groupsMapper.selectByExample(example);
    }

    @Override
    public Groups selectByPrimaryKey(String weixingroupid) {
        return groupsMapper.selectByPrimaryKey(weixingroupid);
    }

    @Override
    public List<Groups> selectByExampleWithBLOBs(GroupsExample example) {
        return groupsMapper.selectByExampleWithBLOBs(example);
    }


}
